
if(WINDOWS AND BUILD_SHARED_LIBS)
    add_definitions(-D_USE3DDLL)
endif()

set(COCOS_3D_HEADER

    3d/CCBillBoard.h
    3d/CCFrustum.h
    3d/CCSprite3DMaterial.h
    3d/CCMeshVertexIndexData.h
    3d/CCPlane.h
    3d/CCRay.h
    3d/CCMesh.h
    3d/CCAnimate3D.h
    3d/CCTerrain.h
    3d/CCAnimationCurve.h
    3d/CCSprite3D.h
    3d/CCOBB.h
    3d/CCAnimation3D.h
    3d/CCMotionStreak3D.h
    3d/CCSkybox.h
    3d/CCMeshSkin.h
    3d/cocos3d.h
    3d/CCAABB.h
    3d/CCBundle3D.h
    3d/CCObjLoader.h
    3d/CCBundle3DData.h
    3d/CCSkeleton3D.h
    3d/CCBundleReader.h
    3d/CCAttachNode.h

    )

set(COCOS_3D_SRC

    3d/CCAABB.cpp
    3d/CCAnimate3D.cpp
    3d/CCAnimation3D.cpp
    3d/CCAttachNode.cpp
    3d/CCBillBoard.cpp
    3d/CCBundle3D.cpp
    3d/CCBundleReader.cpp
    3d/CCFrustum.cpp
    3d/CCMesh.cpp
    3d/CCMeshSkin.cpp
    3d/CCMeshVertexIndexData.cpp
    3d/CCMotionStreak3D.cpp
    3d/CCOBB.cpp
    3d/CCObjLoader.cpp
    3d/CCPlane.cpp
    3d/CCRay.cpp
    3d/CCSkeleton3D.cpp
    3d/CCSkybox.cpp
    3d/CCSprite3D.cpp
    3d/CCSprite3DMaterial.cpp
    3d/CCTerrain.cpp

    )
